#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "misc.h"
#include "glwidget.h"

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

private:
    ParticleManagement *pm;
    GLWidget *gl;
    QLabel *Lfps;
    QTimer *timer;


public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    Ui::MainWindow *ui;
    void createView();

public slots:
    void refreshFPS();
};

#endif // MAINWINDOW_H
